package com.ldzy.service.impl;

import com.ldzy.dao.LoginDao;
import com.ldzy.domain.Login;
import com.ldzy.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    private LoginDao longDao;

    @Override
    public Login doLogin(Login login) {
        return longDao.doLogin(login);
    }
}
